import Layout from '@/layout'

const baseRouter = {
  path: '/base',
  component: Layout,
  redirect: '/base/item',
  meta: {
    title: '基地',
    icon: 'base'
  },
  children: [{
    path: 'item',
    component: () =>
                import ('@/views/base/base-item'),
    name: 'BaseItem',
    meta: { title: '基地条目', activeMenu: '/base' },
    hidden: true
  },
  {
    path: 'image',
    component: () =>
                import ('@/views/base/base-image'),
    name: 'BaseImage',
    meta: { title: '基地图片', activeMenu: '/base' },
    hidden: true
  },
  {
    path: 'create',
    component: () =>
                import ('@/views/base/base-create'),
    name: 'BaseCreate',
    meta: { title: '绘制基地', activeMenu: '/base' },
    hidden: true
  }
  ]
}
export default baseRouter
